package baseweb.springbootweb.service;

import baseweb.springbootweb.pojo.Emp;
import baseweb.springbootweb.pojo.Pagebean;

import java.time.LocalDate;
import java.util.List;

/**
 * 员工管理
 */
public interface EmpService {

    public Pagebean page(Integer page, Integer pageSize,
                         String name, Short gender, LocalDate begin, LocalDate end);
    public void delete(List<Integer> ids);

    public void save(Emp emp);

    public Emp getid(Integer id);

    public void update(Emp emp);
}
